package com.wisedu.wec.bank.common.exception;


import com.wisedu.wec.bank.common.enums.ErrorCode;

@SuppressWarnings("serial")
public class DaoException extends BaseException {


    public DaoException(ErrorCode errorCode, String string) {
        super(errorCode,string);
    }

    public DaoException(ErrorCode errorCode,String msg,Throwable e){
        super(errorCode,msg,e);
    }

    public DaoException(String msg,Throwable e){
        super(ErrorCode.PAY_FAIL,msg,e);
    }

    public DaoException(Throwable e){
        super(ErrorCode.PAY_FAIL, e.getMessage(),e);
    }

}
